# Copyright (C) 2014-2025  CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#

from SketchAPI import *

from salome.shaper import model

model.begin()
partSet = model.moduleDocument()
Part_1 = model.addPart(partSet)
Part_1_doc = Part_1.document()
Parameter_R = model.addParameter(Part_1_doc, "R", "3")
model.addParameter(Part_1_doc, "DBody", "65")
Plane_4 = model.addPlane(Part_1_doc, model.selection("FACE", "PartSet/YOZ"), 89, False)
Sketch_1 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
SketchLine_1 = Sketch_1.addLine(0, 20, 17, 20)
SketchLine_1.setName("SketchLine_7")
SketchLine_1.result().setName("SketchLine_7")
SketchLine_2 = Sketch_1.addLine(20, 0, 0, 0)
SketchLine_2.setName("SketchLine_1")
SketchLine_2.result().setName("SketchLine_1")
SketchLine_3 = Sketch_1.addLine(0, 0, 0, 20)
SketchLine_3.setName("SketchLine_2")
SketchLine_3.result().setName("SketchLine_2")
SketchLine_4 = Sketch_1.addLine(20, 17, 20, 0)
SketchLine_4.setName("SketchLine_8")
SketchLine_4.result().setName("SketchLine_8")
SketchLine_5 = Sketch_1.addLine(20, 20, 20, 0)
SketchLine_5.setName("SketchLine_4")
SketchLine_5.result().setName("SketchLine_4")
SketchLine_5.setAuxiliary(True)
SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_5.endPoint(), SketchLine_2.startPoint())
SketchConstraintCoincidence_2 = Sketch_1.setCoincident(SketchLine_2.endPoint(), SketchLine_3.startPoint())
SketchLine_6 = Sketch_1.addLine(0, 20, 20, 20)
SketchLine_6.setName("SketchLine_3")
SketchLine_6.result().setName("SketchLine_3")
SketchLine_6.setAuxiliary(True)
SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchLine_3.endPoint(), SketchLine_6.startPoint())
SketchConstraintCoincidence_4 = Sketch_1.setCoincident(SketchLine_6.endPoint(), SketchLine_5.startPoint())
SketchConstraintHorizontal_1 = Sketch_1.setHorizontal(SketchLine_2.result())
SketchConstraintVertical_1 = Sketch_1.setVertical(SketchLine_3.result())
SketchConstraintHorizontal_2 = Sketch_1.setHorizontal(SketchLine_6.result())
SketchConstraintVertical_2 = Sketch_1.setVertical(SketchLine_5.result())
SketchProjection_1 = Sketch_1.addProjection(model.selection("EDGE", "PartSet/OZ"))
SketchLine_7 = SketchProjection_1.createdFeature()
SketchLine_7.setName("SketchLine_5")
SketchLine_7.result().setName("SketchLine_5")
SketchProjection_2 = Sketch_1.addProjection(model.selection("EDGE", "PartSet/OY"))
SketchLine_8 = SketchProjection_2.createdFeature()
SketchLine_8.setName("SketchLine_6")
SketchLine_8.result().setName("SketchLine_6")
SketchArc_1 = Sketch_1.addArc(17, 17, 20, 17, 17, 20, False)
SketchConstraintCoincidence_5 = Sketch_1.setCoincident(SketchArc_1.startPoint(), SketchLine_4.startPoint())
SketchConstraintCoincidence_6 = Sketch_1.setCoincident(SketchArc_1.endPoint(), SketchLine_1.endPoint())
SketchConstraintTangent_1 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_1.result())
SketchConstraintTangent_2 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_4.result())
SketchConstraintCoincidence_7 = Sketch_1.setCoincident(SketchLine_6.startPoint(), SketchLine_1.startPoint())
SketchConstraintCoincidence_8 = Sketch_1.setCoincident(SketchLine_5.endPoint(), SketchLine_4.endPoint())
SketchConstraintCoincidence_9 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_6.result())
SketchConstraintCoincidence_10 = Sketch_1.setCoincident(SketchLine_4.startPoint(), SketchLine_5.result())
SketchConstraintRadius_1 = Sketch_1.setRadius(SketchArc_1.results()[1], "R")
SketchConstraintCoincidence_11 = Sketch_1.setCoincident(SketchLine_3.startPoint(), SketchAPI_Line(SketchLine_7).startPoint())
SketchConstraintDistance_1 = Sketch_1.setDistance(SketchLine_2.startPoint(), SketchLine_3.result(), 20)
SketchConstraintDistance_2 = Sketch_1.setDistance(SketchLine_3.endPoint(), SketchLine_2.result(), 20)
model.do()
Revolution_1 = model.addRevolution(Part_1_doc, [model.selection("FACE", "Sketch_1/Face-SketchLine_2r-SketchLine_1r-SketchLine_8r-SketchArc_1_2f-SketchLine_7r")], model.selection("EDGE", "Sketch_1/SketchLine_2"), 0, 180)
ExtrusionFuse_1 = model.addExtrusionFuse(Part_1_doc, [model.selection("FACE", "Sketch_1/Face-SketchLine_2r-SketchLine_1r-SketchLine_8r-SketchArc_1_2f-SketchLine_7r")], model.selection(), 0, 25, [model.selection("SOLID", "Revolution_1_1")])
Sketch_2 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
SketchLine_9 = Sketch_2.addLine(0, 20, -17, 20)
SketchLine_9.setName("SketchLine_13")
SketchLine_9.result().setName("SketchLine_13")
SketchLine_10 = Sketch_2.addLine(-20, 0, 0, 0)
SketchLine_10.setName("SketchLine_9")
SketchLine_10.result().setName("SketchLine_9")
SketchPoint_1 = Sketch_2.addPoint(model.selection("VERTEX", "Sketch_1/SketchLine_1_EndVertex"))
SketchConstraintCoincidence_12 = Sketch_2.setCoincident(SketchLine_10.endPoint(), SketchPoint_1.result())
SketchLine_11 = Sketch_2.addLine(0, 0, 0, 20)
SketchLine_11.setName("SketchLine_10")
SketchLine_11.result().setName("SketchLine_10")
SketchLine_12 = Sketch_2.addLine(-20, 17, -20, 0)
SketchLine_12.setName("SketchLine_14")
SketchLine_12.result().setName("SketchLine_14")
SketchLine_13 = Sketch_2.addLine(-20, 20, -20, 0)
SketchLine_13.setName("SketchLine_12")
SketchLine_13.result().setName("SketchLine_12")
SketchLine_13.setAuxiliary(True)
SketchConstraintCoincidence_13 = Sketch_2.setCoincident(SketchLine_13.endPoint(), SketchLine_10.startPoint())
SketchConstraintCoincidence_14 = Sketch_2.setCoincident(SketchLine_10.endPoint(), SketchLine_11.startPoint())
SketchLine_14 = Sketch_2.addLine(0, 20, -20, 20)
SketchLine_14.setName("SketchLine_11")
SketchLine_14.result().setName("SketchLine_11")
SketchLine_14.setAuxiliary(True)
SketchConstraintCoincidence_15 = Sketch_2.setCoincident(SketchLine_11.endPoint(), SketchLine_14.startPoint())
SketchConstraintCoincidence_16 = Sketch_2.setCoincident(SketchLine_14.endPoint(), SketchLine_13.startPoint())
SketchConstraintHorizontal_3 = Sketch_2.setHorizontal(SketchLine_10.result())
SketchConstraintVertical_3 = Sketch_2.setVertical(SketchLine_11.result())
SketchConstraintHorizontal_4 = Sketch_2.setHorizontal(SketchLine_14.result())
SketchConstraintVertical_4 = Sketch_2.setVertical(SketchLine_13.result())
SketchArc_2 = Sketch_2.addArc(-17, 17, -17, 20, -20, 17, False)
SketchConstraintCoincidence_17 = Sketch_2.setCoincident(SketchArc_2.startPoint(), SketchLine_9.endPoint())
SketchConstraintCoincidence_18 = Sketch_2.setCoincident(SketchArc_2.endPoint(), SketchLine_12.startPoint())
SketchConstraintTangent_3 = Sketch_2.setTangent(SketchArc_2.results()[1], SketchLine_9.result())
SketchConstraintTangent_4 = Sketch_2.setTangent(SketchArc_2.results()[1], SketchLine_12.result())
SketchConstraintCoincidence_19 = Sketch_2.setCoincident(SketchLine_14.startPoint(), SketchLine_9.startPoint())
SketchConstraintCoincidence_20 = Sketch_2.setCoincident(SketchLine_13.endPoint(), SketchLine_12.endPoint())
SketchConstraintCoincidence_21 = Sketch_2.setCoincident(SketchLine_9.endPoint(), SketchLine_14.result())
SketchConstraintCoincidence_22 = Sketch_2.setCoincident(SketchLine_12.startPoint(), SketchLine_13.result())
SketchConstraintRadius_2 = Sketch_2.setRadius(SketchArc_2.results()[1], 3)
SketchConstraintDistance_3 = Sketch_2.setDistance(SketchLine_10.startPoint(), SketchLine_11.result(), 20)
SketchConstraintDistance_4 = Sketch_2.setDistance(SketchLine_11.endPoint(), SketchLine_10.result(), 20)
model.do()
ExtrusionFuse_2 = model.addExtrusionFuse(Part_1_doc, [model.selection("FACE", "Sketch_2/Face-SketchLine_13r-SketchArc_2_2f-SketchLine_14f-SketchLine_9f-SketchLine_10f")], model.selection(), 0, 25, [model.selection("SOLID", "ExtrusionFuse_1_1")])
Sketch_3 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionFuse_2_1/Modified_Face&ExtrusionFuse_2_1/From_Face"))
SketchLine_15 = Sketch_3.addLine(0, -20, -17.00000002635728, -20)
SketchLine_15.setName("SketchLine_19")
SketchLine_15.result().setName("SketchLine_19")
SketchLine_16 = Sketch_3.addLine(-20, 0, 0, 0)
SketchLine_16.setName("SketchLine_15")
SketchLine_16.result().setName("SketchLine_15")
SketchPoint_2 = Sketch_3.addPoint(model.selection("VERTEX", "[ExtrusionFuse_2_1/Generated_Face&Sketch_2/SketchLine_9][(ExtrusionFuse_2_1/Generated_Face&Sketch_2/SketchLine_9)(ExtrusionFuse_1_1/Generated_Face&Sketch_1/SketchLine_8)(ExtrusionFuse_2_1/Modified_Face&ExtrusionFuse_1_1/From_Face)][ExtrusionFuse_2_1/Modified_Face&ExtrusionFuse_2_1/From_Face][ExtrusionFuse_2_1/Modified_Face&ExtrusionFuse_1_1/From_Face]"))
SketchConstraintCoincidence_23 = Sketch_3.setCoincident(SketchLine_16.endPoint(), SketchPoint_2.result())
SketchLine_17 = Sketch_3.addLine(0, 0, 0, -20)
SketchLine_17.setName("SketchLine_16")
SketchLine_17.result().setName("SketchLine_16")
SketchLine_18 = Sketch_3.addLine(-20, -17, -20, 0)
SketchLine_18.setName("SketchLine_20")
SketchLine_18.result().setName("SketchLine_20")
SketchLine_19 = Sketch_3.addLine(-20, -20, -20, 0)
SketchLine_19.setName("SketchLine_18")
SketchLine_19.result().setName("SketchLine_18")
SketchLine_19.setAuxiliary(True)
SketchConstraintCoincidence_24 = Sketch_3.setCoincident(SketchLine_19.endPoint(), SketchLine_16.startPoint())
SketchConstraintCoincidence_25 = Sketch_3.setCoincident(SketchLine_16.endPoint(), SketchLine_17.startPoint())
SketchLine_20 = Sketch_3.addLine(0, -20, -20, -20)
SketchLine_20.setName("SketchLine_17")
SketchLine_20.result().setName("SketchLine_17")
SketchLine_20.setAuxiliary(True)
SketchConstraintCoincidence_26 = Sketch_3.setCoincident(SketchLine_17.endPoint(), SketchLine_20.startPoint())
SketchConstraintCoincidence_27 = Sketch_3.setCoincident(SketchLine_20.endPoint(), SketchLine_19.startPoint())
SketchConstraintHorizontal_5 = Sketch_3.setHorizontal(SketchLine_16.result())
SketchConstraintVertical_5 = Sketch_3.setVertical(SketchLine_17.result())
SketchConstraintHorizontal_6 = Sketch_3.setHorizontal(SketchLine_20.result())
SketchConstraintVertical_6 = Sketch_3.setVertical(SketchLine_19.result())
SketchArc_3 = Sketch_3.addArc(-17, -17, -20, -17, -17.00000002635728, -20, False)
SketchConstraintCoincidence_28 = Sketch_3.setCoincident(SketchArc_3.startPoint(), SketchLine_18.startPoint())
SketchConstraintCoincidence_29 = Sketch_3.setCoincident(SketchArc_3.endPoint(), SketchLine_15.endPoint())
SketchConstraintTangent_5 = Sketch_3.setTangent(SketchArc_3.results()[1], SketchLine_15.result())
SketchConstraintTangent_6 = Sketch_3.setTangent(SketchArc_3.results()[1], SketchLine_18.result())
SketchConstraintCoincidence_30 = Sketch_3.setCoincident(SketchLine_20.startPoint(), SketchLine_15.startPoint())
SketchConstraintCoincidence_31 = Sketch_3.setCoincident(SketchLine_19.endPoint(), SketchLine_18.endPoint())
SketchConstraintCoincidence_32 = Sketch_3.setCoincident(SketchLine_15.endPoint(), SketchLine_20.result())
SketchConstraintCoincidence_33 = Sketch_3.setCoincident(SketchLine_18.startPoint(), SketchLine_19.result())
SketchConstraintRadius_3 = Sketch_3.setRadius(SketchArc_3.results()[1], 3)
SketchConstraintDistance_5 = Sketch_3.setDistance(SketchLine_15.startPoint(), SketchLine_16.result(), 20)
SketchConstraintDistance_6 = Sketch_3.setDistance(SketchLine_18.endPoint(), SketchLine_17.result(), 20)
SketchLine_21 = Sketch_3.addLine(-23, -0.01462093666115485, -23, -19.98755081419712)
SketchConstraintParallel_1 = Sketch_3.setParallel(SketchLine_17.result(), SketchLine_21.result())
SketchConstraintDistance_7 = Sketch_3.setDistance(SketchLine_21.startPoint(), SketchLine_18.result(), 3)
model.do()
RevolutionFuse_1 = model.addRevolutionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_3")], model.selection("EDGE", "Sketch_3/SketchLine_21"), 71, 0, [model.selection("SOLID", "ExtrusionFuse_2_1")])
Sketch_4 = model.addSketch(Part_1_doc, model.selection("FACE", "RevolutionFuse_1_1/Modified_Face&ExtrusionFuse_1_1/From_Face"))
SketchLine_22 = Sketch_4.addLine(-3, -20, 17, -20)
SketchLine_22.setName("SketchLine_26")
SketchLine_22.result().setName("SketchLine_26")
SketchLine_23 = Sketch_4.addLine(20, 0, -3, 0)
SketchLine_23.setName("SketchLine_22")
SketchLine_23.result().setName("SketchLine_22")
SketchLine_24 = Sketch_4.addLine(-3, 0, -3, -20)
SketchLine_24.setName("SketchLine_23")
SketchLine_24.result().setName("SketchLine_23")
SketchLine_25 = Sketch_4.addLine(20, -17, 20, 0)
SketchLine_25.setName("SketchLine_27")
SketchLine_25.result().setName("SketchLine_27")
SketchLine_26 = Sketch_4.addLine(20, -20, 20, 0)
SketchLine_26.setName("SketchLine_25")
SketchLine_26.result().setName("SketchLine_25")
SketchLine_26.setAuxiliary(True)
SketchConstraintCoincidence_34 = Sketch_4.setCoincident(SketchLine_26.endPoint(), SketchLine_23.startPoint())
SketchConstraintCoincidence_35 = Sketch_4.setCoincident(SketchLine_23.endPoint(), SketchLine_24.startPoint())
SketchLine_27 = Sketch_4.addLine(-3, -20, 20, -20)
SketchLine_27.setName("SketchLine_24")
SketchLine_27.result().setName("SketchLine_24")
SketchLine_27.setAuxiliary(True)
SketchConstraintCoincidence_36 = Sketch_4.setCoincident(SketchLine_24.endPoint(), SketchLine_27.startPoint())
SketchConstraintCoincidence_37 = Sketch_4.setCoincident(SketchLine_27.endPoint(), SketchLine_26.startPoint())
SketchConstraintHorizontal_7 = Sketch_4.setHorizontal(SketchLine_23.result())
SketchConstraintVertical_7 = Sketch_4.setVertical(SketchLine_24.result())
SketchConstraintHorizontal_8 = Sketch_4.setHorizontal(SketchLine_27.result())
SketchConstraintVertical_8 = Sketch_4.setVertical(SketchLine_26.result())
SketchArc_4 = Sketch_4.addArc(17, -17, 17, -20, 20, -17, False)
SketchConstraintCoincidence_38 = Sketch_4.setCoincident(SketchArc_4.startPoint(), SketchLine_22.endPoint())
SketchConstraintCoincidence_39 = Sketch_4.setCoincident(SketchArc_4.endPoint(), SketchLine_25.startPoint())
SketchConstraintTangent_7 = Sketch_4.setTangent(SketchArc_4.results()[1], SketchLine_22.result())
SketchConstraintTangent_8 = Sketch_4.setTangent(SketchArc_4.results()[1], SketchLine_25.result())
SketchConstraintCoincidence_40 = Sketch_4.setCoincident(SketchLine_27.startPoint(), SketchLine_22.startPoint())
SketchConstraintCoincidence_41 = Sketch_4.setCoincident(SketchLine_26.endPoint(), SketchLine_25.endPoint())
SketchConstraintCoincidence_42 = Sketch_4.setCoincident(SketchLine_22.endPoint(), SketchLine_27.result())
SketchConstraintCoincidence_43 = Sketch_4.setCoincident(SketchLine_25.startPoint(), SketchLine_26.result())
SketchConstraintRadius_4 = Sketch_4.setRadius(SketchArc_4.results()[1], 3)
SketchLine_28 = Sketch_4.addLine(model.selection("EDGE", "Sketch_3/SketchLine_15"))
SketchConstraintCoincidence_44 = Sketch_4.setCoincident(SketchLine_24.startPoint(), SketchLine_28.result())
SketchConstraintDistance_8 = Sketch_4.setDistance(SketchLine_22.endPoint(), SketchLine_23.result(), 20)
SketchConstraintDistance_9 = Sketch_4.setDistance(SketchLine_28.endPoint(), SketchLine_25.result(), 20)
SketchConstraintDistance_10 = Sketch_4.setDistance(SketchLine_24.result(), SketchLine_28.endPoint(), 3)
SketchLine_29 = Sketch_4.addLine(23, -0.2448405100241045, 23, -19.61338093143246)
SketchConstraintParallel_2 = Sketch_4.setParallel(SketchLine_25.result(), SketchLine_29.result())
SketchConstraintDistance_11 = Sketch_4.setDistance(SketchLine_23.startPoint(), SketchLine_29.result(), 3)
model.do()
RevolutionFuse_2 = model.addRevolutionFuse(Part_1_doc, [model.selection("FACE", "Sketch_4/Face-SketchLine_26r-SketchArc_4_2f-SketchLine_27f-SketchLine_22f-SketchLine_23f")], model.selection("EDGE", "Sketch_4/SketchLine_29"), 0, 71, [model.selection("SOLID", "RevolutionFuse_1_1")])
Sketch_5 = model.addSketch(Part_1_doc, model.standardPlane("XOZ"))
SketchLine_30 = Sketch_5.addLine(0, 0, 0, 82)
SketchLine_31 = Sketch_5.addLine(model.selection("EDGE", "PartSet/OZ"))
SketchConstraintCoincidence_45 = Sketch_5.setCoincident(SketchLine_30.endPoint(), SketchLine_31.result())
SketchLine_32 = Sketch_5.addLine(27.41618692363446, 77, 58.99998109391454, 77)
SketchLine_32.setName("SketchLine_39")
SketchLine_32.result().setName("SketchLine_39")
SketchLine_33 = Sketch_5.addLine(0, 82, 20, 82)
SketchLine_33.setName("SketchLine_32")
SketchLine_33.result().setName("SketchLine_32")
SketchConstraintCoincidence_46 = Sketch_5.setCoincident(SketchLine_30.endPoint(), SketchLine_33.startPoint())
SketchLine_34 = Sketch_5.addLine(65, 70.99999917134223, 65, 0)
SketchLine_34.setName("SketchLine_40")
SketchLine_34.result().setName("SketchLine_40")
SketchLine_35 = Sketch_5.addLine(27.41618692363446, 77, 65, 77)
SketchLine_35.setName("SketchLine_34")
SketchLine_35.result().setName("SketchLine_34")
SketchLine_35.setAuxiliary(True)
SketchLine_36 = Sketch_5.addLine(65, 77.00000000000001, 65, 0)
SketchLine_36.setName("SketchLine_35")
SketchLine_36.result().setName("SketchLine_35")
SketchLine_36.setAuxiliary(True)
SketchConstraintCoincidence_47 = Sketch_5.setCoincident(SketchLine_35.endPoint(), SketchLine_36.startPoint())
SketchConstraintCoincidence_47.setName("SketchConstraintCoincidence_49")
SketchLine_37 = Sketch_5.addLine(65, 0, 0, 0)
SketchLine_37.setName("SketchLine_38")
SketchLine_37.result().setName("SketchLine_38")
SketchConstraintCoincidence_48 = Sketch_5.setCoincident(SketchLine_30.startPoint(), SketchLine_37.endPoint())
SketchConstraintCoincidence_48.setName("SketchConstraintCoincidence_53")
SketchConstraintCoincidence_49 = Sketch_5.setCoincident(SketchLine_37.endPoint(), SketchLine_31.startPoint())
SketchConstraintCoincidence_49.setName("SketchConstraintCoincidence_54")
SketchConstraintHorizontal_9 = Sketch_5.setHorizontal(SketchLine_37.result())
SketchConstraintVertical_9 = Sketch_5.setVertical(SketchLine_36.result())
SketchConstraintHorizontal_10 = Sketch_5.setHorizontal(SketchLine_33.result())
SketchConstraintHorizontal_11 = Sketch_5.setHorizontal(SketchLine_35.result())
SketchConstraintDistance_12 = Sketch_5.setDistance(SketchLine_33.endPoint(), SketchLine_35.result(), 5)
SketchConstraintDistance_12.setName("SketchConstraintDistance_14")
SketchConstraintDistance_13 = Sketch_5.setDistance(SketchLine_30.endPoint(), SketchLine_37.result(), 82)
SketchConstraintDistance_13.setName("SketchConstraintDistance_15")
SketchArc_5 = Sketch_5.addArc(59, 70.99999999999999, 65, 70.99999917134223, 58.99998109391454, 77, False)
SketchArc_5.setName("SketchArc_6")
SketchArc_5.result().setName("SketchArc_6")
SketchArc_5.results()[1].setName("SketchArc_6_2")
SketchConstraintCoincidence_50 = Sketch_5.setCoincident(SketchArc_5.startPoint(), SketchLine_34.startPoint())
SketchConstraintCoincidence_50.setName("SketchConstraintCoincidence_57")
SketchConstraintCoincidence_51 = Sketch_5.setCoincident(SketchArc_5.endPoint(), SketchLine_32.endPoint())
SketchConstraintCoincidence_51.setName("SketchConstraintCoincidence_58")
SketchConstraintTangent_9 = Sketch_5.setTangent(SketchArc_5.results()[1], SketchLine_32.result())
SketchConstraintTangent_9.setName("SketchConstraintTangent_10")
SketchConstraintTangent_10 = Sketch_5.setTangent(SketchArc_5.results()[1], SketchLine_34.result())
SketchConstraintTangent_10.setName("SketchConstraintTangent_11")
SketchConstraintCoincidence_52 = Sketch_5.setCoincident(SketchLine_35.startPoint(), SketchLine_32.startPoint())
SketchConstraintCoincidence_52.setName("SketchConstraintCoincidence_59")
SketchConstraintCoincidence_53 = Sketch_5.setCoincident(SketchLine_36.endPoint(), SketchLine_34.endPoint())
SketchConstraintCoincidence_53.setName("SketchConstraintCoincidence_60")
SketchConstraintCoincidence_54 = Sketch_5.setCoincident(SketchLine_32.endPoint(), SketchLine_35.result())
SketchConstraintCoincidence_54.setName("SketchConstraintCoincidence_61")
SketchConstraintCoincidence_55 = Sketch_5.setCoincident(SketchLine_34.startPoint(), SketchLine_36.result())
SketchConstraintCoincidence_55.setName("SketchConstraintCoincidence_62")
SketchConstraintRadius_5 = Sketch_5.setRadius(SketchArc_5.results()[1], 6)
SketchConstraintRadius_5.setName("SketchConstraintRadius_6")
SketchArc_6 = Sketch_5.addArc(27.41619848709567, 84.99999999999999, 27.41618692363446, 77, 20, 82, True)
SketchArc_6.setName("SketchArc_7")
SketchArc_6.result().setName("SketchArc_7")
SketchArc_6.results()[1].setName("SketchArc_7_2")
SketchConstraintCoincidence_56 = Sketch_5.setCoincident(SketchArc_6.startPoint(), SketchLine_32.startPoint())
SketchConstraintCoincidence_56.setName("SketchConstraintCoincidence_63")
SketchConstraintTangent_11 = Sketch_5.setTangent(SketchArc_6.results()[1], SketchLine_32.result())
SketchConstraintTangent_11.setName("SketchConstraintTangent_12")
SketchConstraintCoincidence_57 = Sketch_5.setCoincident(SketchLine_33.endPoint(), SketchArc_6.endPoint())
SketchConstraintCoincidence_57.setName("SketchConstraintCoincidence_64")
SketchConstraintRadius_6 = Sketch_5.setRadius(SketchArc_6.results()[1], 8)
SketchConstraintRadius_6.setName("SketchConstraintRadius_7")
SketchConstraintDistance_14 = Sketch_5.setDistance(SketchLine_33.endPoint(), SketchLine_30.result(), 20)
SketchConstraintDistance_14.setName("SketchConstraintDistance_17")
SketchConstraintCoincidence_59 = Sketch_5.setCoincident(SketchLine_34.endPoint(), SketchLine_37.startPoint())
SketchConstraintCoincidence_59.setName("SketchConstraintCoincidence_66")
SketchConstraintDistance_15 = Sketch_5.setDistance(SketchLine_37.startPoint(), SketchLine_30.result(), "DBody")
SketchConstraintDistance_15.setName("SketchConstraintDistance_16")
model.do()
RevolutionFuse_3 = model.addRevolutionFuse(Part_1_doc, [model.selection("WIRE", "Sketch_5/Face-SketchLine_38r-SketchLine_40r-SketchArc_6_2f-SketchLine_39r-SketchArc_7_2r-SketchLine_32r-SketchLine_30r_wire")], model.selection("EDGE", "PartSet/OZ"), 45, 315, [model.selection("SOLID", "RevolutionFuse_2_1")])
Sketch_6 = model.addSketch(Part_1_doc, model.standardPlane("YOZ"))
SketchLine_38 = Sketch_6.addLine(19.99999999999999, 60, -20, 60)
SketchLine_38.setName("SketchLine_48")
SketchLine_38.result().setName("SketchLine_48")
SketchLine_39 = Sketch_6.addLine(-20, 30, 20, 30)
SketchLine_39.setName("SketchLine_52")
SketchLine_39.result().setName("SketchLine_52")
SketchLine_40 = Sketch_6.addLine(-20, 60, -20, 30)
SketchLine_40.setName("SketchLine_51")
SketchLine_40.result().setName("SketchLine_51")
SketchLine_41 = Sketch_6.addLine(20, 30, 19.99999999999999, 60)
SketchLine_41.setName("SketchLine_50")
SketchLine_41.result().setName("SketchLine_50")
SketchLine_43 = Sketch_6.addLine(-20, 30, 20, 30)
SketchLine_43.setName("SketchLine_41")
SketchLine_43.result().setName("SketchLine_41")
SketchLine_43.setAuxiliary(True)
SketchLine_42 = Sketch_6.addLine(-20, 60, -20, 30)
SketchLine_42.setName("SketchLine_44")
SketchLine_42.result().setName("SketchLine_44")
SketchLine_42.setAuxiliary(True)
SketchConstraintCoincidence_60 = Sketch_6.setCoincident(SketchLine_42.endPoint(), SketchLine_43.startPoint())
SketchConstraintCoincidence_60.setName("SketchConstraintCoincidence_67")
SketchLine_44 = Sketch_6.addLine(20, 30.00000000000001, 19.99999999999998, 60)
SketchLine_44.setName("SketchLine_42")
SketchLine_44.result().setName("SketchLine_42")
SketchLine_44.setAuxiliary(True)
SketchConstraintCoincidence_61 = Sketch_6.setCoincident(SketchLine_43.endPoint(), SketchLine_44.startPoint())
SketchConstraintCoincidence_61.setName("SketchConstraintCoincidence_68")
SketchLine_45 = Sketch_6.addLine(19.99999999999998, 60, -19.99999999999999, 60)
SketchLine_45.setName("SketchLine_43")
SketchLine_45.result().setName("SketchLine_43")
SketchLine_45.setAuxiliary(True)
SketchConstraintCoincidence_62 = Sketch_6.setCoincident(SketchLine_44.endPoint(), SketchLine_45.startPoint())
SketchConstraintCoincidence_62.setName("SketchConstraintCoincidence_69")
SketchConstraintCoincidence_63 = Sketch_6.setCoincident(SketchLine_45.endPoint(), SketchLine_42.startPoint())
SketchConstraintCoincidence_63.setName("SketchConstraintCoincidence_70")
SketchConstraintHorizontal_12 = Sketch_6.setHorizontal(SketchLine_43.result())
SketchConstraintVertical_10 = Sketch_6.setVertical(SketchLine_44.result())
SketchConstraintHorizontal_13 = Sketch_6.setHorizontal(SketchLine_45.result())
SketchConstraintVertical_11 = Sketch_6.setVertical(SketchLine_42.result())
SketchLine_46 = Sketch_6.addLine(19.99999999999998, 60, -20, 60)
SketchLine_46.setName("SketchLine_45")
SketchLine_46.result().setName("SketchLine_45")
SketchLine_46.setAuxiliary(True)
SketchConstraintCoincidence_64 = Sketch_6.setCoincident(SketchLine_45.startPoint(), SketchLine_46.startPoint())
SketchConstraintCoincidence_64.setName("SketchConstraintCoincidence_73")
SketchLine_47 = Sketch_6.addLine(-20, 60, -19.99999999999998, 30.00000000000001)
SketchLine_47.setName("SketchLine_46")
SketchLine_47.result().setName("SketchLine_46")
SketchLine_47.setAuxiliary(True)
SketchConstraintCoincidence_65 = Sketch_6.setCoincident(SketchLine_42.endPoint(), SketchLine_47.endPoint())
SketchConstraintCoincidence_65.setName("SketchConstraintCoincidence_74")
SketchConstraintCoincidence_66 = Sketch_6.setCoincident(SketchLine_46.endPoint(), SketchLine_45.result())
SketchConstraintCoincidence_66.setName("SketchConstraintCoincidence_75")
SketchConstraintCoincidence_67 = Sketch_6.setCoincident(SketchLine_47.startPoint(), SketchLine_42.result())
SketchConstraintCoincidence_67.setName("SketchConstraintCoincidence_76")
SketchLine_48 = Sketch_6.addLine(20, 30.00000000000001, 19.99999999999999, 60)
SketchLine_48.setName("SketchLine_47")
SketchLine_48.result().setName("SketchLine_47")
SketchLine_48.setAuxiliary(True)
SketchConstraintCoincidence_68 = Sketch_6.setCoincident(SketchLine_44.startPoint(), SketchLine_48.startPoint())
SketchConstraintCoincidence_68.setName("SketchConstraintCoincidence_79")
SketchConstraintCoincidence_69 = Sketch_6.setCoincident(SketchLine_46.endPoint(), SketchLine_38.endPoint())
SketchConstraintCoincidence_69.setName("SketchConstraintCoincidence_80")
SketchConstraintCoincidence_70 = Sketch_6.setCoincident(SketchLine_48.endPoint(), SketchLine_44.result())
SketchConstraintCoincidence_70.setName("SketchConstraintCoincidence_81")
SketchConstraintCoincidence_71 = Sketch_6.setCoincident(SketchLine_38.startPoint(), SketchLine_46.result())
SketchConstraintCoincidence_71.setName("SketchConstraintCoincidence_82")
SketchLine_49 = Sketch_6.addLine(-19.99999999999998, 30.00000000000001, 20, 30)
SketchLine_49.setName("SketchLine_49")
SketchLine_49.result().setName("SketchLine_49")
SketchLine_49.setAuxiliary(True)
SketchConstraintCoincidence_72 = Sketch_6.setCoincident(SketchLine_43.startPoint(), SketchLine_49.startPoint())
SketchConstraintCoincidence_72.setName("SketchConstraintCoincidence_85")
SketchConstraintCoincidence_73 = Sketch_6.setCoincident(SketchLine_48.endPoint(), SketchLine_41.endPoint())
SketchConstraintCoincidence_73.setName("SketchConstraintCoincidence_86")
SketchConstraintCoincidence_74 = Sketch_6.setCoincident(SketchLine_49.endPoint(), SketchLine_43.result())
SketchConstraintCoincidence_74.setName("SketchConstraintCoincidence_87")
SketchConstraintCoincidence_75 = Sketch_6.setCoincident(SketchLine_41.startPoint(), SketchLine_48.result())
SketchConstraintCoincidence_75.setName("SketchConstraintCoincidence_88")
SketchConstraintCoincidence_76 = Sketch_6.setCoincident(SketchLine_47.startPoint(), SketchLine_40.startPoint())
SketchConstraintCoincidence_76.setName("SketchConstraintCoincidence_91")
SketchConstraintCoincidence_77 = Sketch_6.setCoincident(SketchLine_49.endPoint(), SketchLine_39.endPoint())
SketchConstraintCoincidence_77.setName("SketchConstraintCoincidence_92")
SketchConstraintCoincidence_78 = Sketch_6.setCoincident(SketchLine_40.endPoint(), SketchLine_47.result())
SketchConstraintCoincidence_78.setName("SketchConstraintCoincidence_93")
SketchConstraintCoincidence_79 = Sketch_6.setCoincident(SketchLine_39.startPoint(), SketchLine_49.result())
SketchConstraintCoincidence_79.setName("SketchConstraintCoincidence_94")
SketchPoint_3 = Sketch_6.addPoint(model.selection("VERTEX", "Sketch_5/SketchLine_30_StartVertex"))
SketchConstraintDistance_16 = Sketch_6.setDistance(SketchLine_40.result(), SketchPoint_3.coordinates(), 20)
SketchConstraintDistance_16.setName("SketchConstraintDistance_18")
SketchConstraintDistance_17 = Sketch_6.setDistance(SketchPoint_3.coordinates(), SketchLine_41.result(), 20)
SketchConstraintDistance_17.setName("SketchConstraintDistance_19")
SketchConstraintDistance_18 = Sketch_6.setDistance(SketchLine_39.result(), SketchPoint_3.coordinates(), 30)
SketchConstraintDistance_18.setName("SketchConstraintDistance_20")
SketchConstraintDistance_19 = Sketch_6.setDistance(SketchLine_39.result(), SketchLine_38.endPoint(), 30)
SketchConstraintDistance_19.setName("SketchConstraintDistance_21")
SketchConstraintCoincidence_80 = Sketch_6.setCoincident(SketchLine_40.startPoint(), SketchLine_38.endPoint())
SketchConstraintCoincidence_80.setName("SketchConstraintCoincidence_152")
SketchConstraintCoincidence_81 = Sketch_6.setCoincident(SketchLine_38.startPoint(), SketchLine_41.endPoint())
SketchConstraintCoincidence_81.setName("SketchConstraintCoincidence_153")
SketchConstraintCoincidence_82 = Sketch_6.setCoincident(SketchLine_40.endPoint(), SketchLine_39.startPoint())
SketchConstraintCoincidence_82.setName("SketchConstraintCoincidence_154")
SketchConstraintCoincidence_84 = Sketch_6.setCoincident(SketchLine_41.startPoint(), SketchLine_39.endPoint())
SketchConstraintCoincidence_84.setName("SketchConstraintCoincidence_156")
model.do()
ExtrusionCut_1 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_6")], model.selection(), 100, 0, [model.selection("SOLID", "RevolutionFuse_3_1")])
Sketch_7 = model.addSketch(Part_1_doc, model.standardPlane("XOZ"))
SketchLine_50 = Sketch_7.addLine(65, 23.09999999999939, 65, 23.00000523211526)
SketchLine_50.setName("SketchLine_61")
SketchLine_50.result().setName("SketchLine_61")
SketchLine_51 = Sketch_7.addLine(model.selection("EDGE", "Sketch_5/SketchLine_35"))
SketchLine_51.setName("SketchLine_54")
SketchLine_51.result().setName("SketchLine_54")
SketchLine_52 = Sketch_7.addLine(65, 23.09999999999939, 65, 20)
SketchLine_52.setName("SketchLine_53")
SketchLine_52.result().setName("SketchLine_53")
SketchLine_52.setAuxiliary(True)
SketchConstraintCoincidence_85 = Sketch_7.setCoincident(SketchLine_52.startPoint(), SketchLine_51.result())
SketchConstraintCoincidence_85.setName("SketchConstraintCoincidence_95")
SketchLine_53 = Sketch_7.addLine(68.00001763534438, 19.99999999999997, 68.09999999999999, 20)
SketchLine_53.setName("SketchLine_62")
SketchLine_53.result().setName("SketchLine_62")
SketchLine_54 = Sketch_7.addLine(65, 20, 68.09999999999999, 20)
SketchLine_54.setName("SketchLine_55")
SketchLine_54.result().setName("SketchLine_55")
SketchLine_54.setAuxiliary(True)
SketchConstraintCoincidence_86 = Sketch_7.setCoincident(SketchLine_52.endPoint(), SketchLine_54.startPoint())
SketchConstraintCoincidence_86.setName("SketchConstraintCoincidence_96")
SketchLine_55 = Sketch_7.addLine(model.selection("EDGE", "[RevolutionFuse_3_1/Modified_Face&Sketch_2/SketchLine_13][RevolutionFuse_3_1/Modified_Face&Sketch_1/SketchLine_7]"))
SketchLine_55.setName("SketchLine_56")
SketchLine_55.result().setName("SketchLine_56")
SketchConstraintCoincidence_87 = Sketch_7.setCoincident(SketchLine_54.endPoint(), SketchLine_55.result())
SketchConstraintCoincidence_87.setName("SketchConstraintCoincidence_97")
SketchLine_56 = Sketch_7.addLine(68.09999999999999, 20, 68.09999999999999, 18.51336352164785)
SketchLine_56.setName("SketchLine_57")
SketchLine_56.result().setName("SketchLine_57")
SketchConstraintCoincidence_88 = Sketch_7.setCoincident(SketchLine_54.endPoint(), SketchLine_56.startPoint())
SketchConstraintCoincidence_88.setName("SketchConstraintCoincidence_98")
SketchLine_57 = Sketch_7.addLine(68.09999999999999, 18.51336352164785, 63.35445204813018, 18.51336352164785)
SketchLine_57.setName("SketchLine_58")
SketchLine_57.result().setName("SketchLine_58")
SketchConstraintCoincidence_89 = Sketch_7.setCoincident(SketchLine_56.endPoint(), SketchLine_57.startPoint())
SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_99")
SketchLine_58 = Sketch_7.addLine(63.35445204813018, 18.51336352164785, 63.35445204813018, 23.09999999999939)
SketchLine_58.setName("SketchLine_59")
SketchLine_58.result().setName("SketchLine_59")
SketchConstraintCoincidence_90 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchLine_58.startPoint())
SketchConstraintCoincidence_90.setName("SketchConstraintCoincidence_100")
SketchLine_59 = Sketch_7.addLine(63.35445204813018, 23.09999999999939, 65, 23.09999999999939)
SketchLine_59.setName("SketchLine_60")
SketchLine_59.result().setName("SketchLine_60")
SketchConstraintCoincidence_91 = Sketch_7.setCoincident(SketchLine_58.endPoint(), SketchLine_59.startPoint())
SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_101")
SketchConstraintCoincidence_92 = Sketch_7.setCoincident(SketchLine_52.startPoint(), SketchLine_59.endPoint())
SketchConstraintCoincidence_92.setName("SketchConstraintCoincidence_102")
SketchConstraintVertical_12 = Sketch_7.setVertical(SketchLine_52.result())
SketchConstraintHorizontal_14 = Sketch_7.setHorizontal(SketchLine_54.result())
SketchConstraintHorizontal_15 = Sketch_7.setHorizontal(SketchLine_57.result())
SketchConstraintHorizontal_16 = Sketch_7.setHorizontal(SketchLine_59.result())
SketchConstraintVertical_13 = Sketch_7.setVertical(SketchLine_56.result())
SketchConstraintVertical_14 = Sketch_7.setVertical(SketchLine_58.result())
SketchArc_7 = Sketch_7.addArc(68, 22.99999999999999, 65, 23.00000523211526, 68.00001763534438, 19.99999999999997, False)
SketchArc_7.setName("SketchArc_12")
SketchArc_7.result().setName("SketchArc_12")
SketchArc_7.results()[1].setName("SketchArc_12_2")
SketchConstraintCoincidence_93 = Sketch_7.setCoincident(SketchArc_7.startPoint(), SketchLine_50.endPoint())
SketchConstraintCoincidence_93.setName("SketchConstraintCoincidence_103")
SketchConstraintCoincidence_94 = Sketch_7.setCoincident(SketchArc_7.endPoint(), SketchLine_53.startPoint())
SketchConstraintCoincidence_94.setName("SketchConstraintCoincidence_104")
SketchConstraintTangent_12 = Sketch_7.setTangent(SketchArc_7.results()[1], SketchLine_50.result())
SketchConstraintTangent_12.setName("SketchConstraintTangent_21")
SketchConstraintTangent_13 = Sketch_7.setTangent(SketchArc_7.results()[1], SketchLine_53.result())
SketchConstraintTangent_13.setName("SketchConstraintTangent_22")
SketchConstraintCoincidence_95 = Sketch_7.setCoincident(SketchLine_52.startPoint(), SketchLine_50.startPoint())
SketchConstraintCoincidence_95.setName("SketchConstraintCoincidence_105")
SketchConstraintCoincidence_96 = Sketch_7.setCoincident(SketchLine_54.endPoint(), SketchLine_53.endPoint())
SketchConstraintCoincidence_96.setName("SketchConstraintCoincidence_106")
SketchConstraintCoincidence_97 = Sketch_7.setCoincident(SketchLine_50.endPoint(), SketchLine_52.result())
SketchConstraintCoincidence_97.setName("SketchConstraintCoincidence_107")
SketchConstraintCoincidence_98 = Sketch_7.setCoincident(SketchLine_53.startPoint(), SketchLine_54.result())
SketchConstraintCoincidence_98.setName("SketchConstraintCoincidence_108")
SketchConstraintRadius_7 = Sketch_7.setRadius(SketchArc_7.results()[1], 3)
SketchConstraintRadius_7.setName("SketchConstraintRadius_12")
SketchConstraintDistance_20 = Sketch_7.setDistance(SketchLine_53.endPoint(), SketchLine_50.result(), 3.1)
SketchConstraintDistance_20.setName("SketchConstraintDistance_22")
SketchConstraintDistance_21 = Sketch_7.setDistance(SketchLine_50.startPoint(), SketchLine_53.result(), 3.1)
SketchConstraintDistance_21.setName("SketchConstraintDistance_23")
model.do()
RevolutionFuse_4 = model.addRevolutionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_7")], model.selection("EDGE", "PartSet/OZ"), 14.4, 14.4, [model.selection("SOLID", "ExtrusionCut_1_1")])
Sketch_8 = model.addSketch(Part_1_doc, model.standardPlane("XOZ"))
SketchCircle_1 = Sketch_8.addCircle(0, 45, 12.5)
SketchLine_60 = Sketch_8.addLine(model.selection("EDGE", "Sketch_5/SketchLine_30"))
SketchLine_60.setName("SketchLine_63")
SketchLine_60.result().setName("SketchLine_63")
SketchConstraintCoincidence_99 = Sketch_8.setCoincident(SketchCircle_1.center(), SketchLine_60.result())
SketchConstraintCoincidence_99.setName("SketchConstraintCoincidence_109")
SketchLine_61 = Sketch_8.addLine(model.selection("EDGE", "Sketch_5/SketchLine_38"))
SketchLine_61.setName("SketchLine_64")
SketchLine_61.result().setName("SketchLine_64")
SketchConstraintDistance_22 = Sketch_8.setDistance(SketchCircle_1.center(), SketchLine_61.result(), 45)
SketchConstraintDistance_22.setName("SketchConstraintDistance_24")
SketchConstraintRadius_8 = Sketch_8.setRadius(SketchCircle_1.results()[1], 12.5)
SketchConstraintRadius_8.setName("SketchConstraintRadius_13")
model.do()
ExtrusionCut_2 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_8/Face-SketchCircle_1_2r")], model.selection(), 100, 100, [model.selection("SOLID", "RevolutionFuse_4_1")])
Sketch_9 = model.addSketch(Part_1_doc, model.defaultPlane("XOZ"))
SketchLine_62 = Sketch_9.addLine(0, 84, 0, -2)
SketchLine_62.setName("SketchLine_65")
SketchLine_62.result().setName("SketchLine_65")
SketchLine_63 = Sketch_9.addLine(model.selection("EDGE", "PartSet/OZ"))
SketchLine_63.setName("SketchLine_66")
SketchLine_63.result().setName("SketchLine_66")
SketchConstraintCoincidence_100 = Sketch_9.setCoincident(SketchLine_62.startPoint(), SketchLine_63.result())
SketchConstraintCoincidence_100.setName("SketchConstraintCoincidence_110")
SketchConstraintCoincidence_101 = Sketch_9.setCoincident(SketchLine_62.endPoint(), SketchLine_63.result())
SketchConstraintCoincidence_101.setName("SketchConstraintCoincidence_111")
SketchLine_64 = Sketch_9.addLine(50, 8, 50, 63.99999981522573)
SketchLine_64.setName("SketchLine_91")
SketchLine_64.result().setName("SketchLine_91")
SketchLine_65 = Sketch_9.addLine(0, -2, 58, -2)
SketchLine_65.setName("SketchLine_67")
SketchLine_65.result().setName("SketchLine_67")
SketchConstraintCoincidence_102 = Sketch_9.setCoincident(SketchLine_62.endPoint(), SketchLine_65.startPoint())
SketchConstraintCoincidence_102.setName("SketchConstraintCoincidence_112")
SketchLine_66 = Sketch_9.addLine(44.0000002728486, 70, 15, 70)
SketchLine_66.setName("SketchLine_92")
SketchLine_66.result().setName("SketchLine_92")
SketchLine_67 = Sketch_9.addLine(58, -2, 58.00000000000001, 3.999997221073)
SketchLine_67.setName("SketchLine_93")
SketchLine_67.result().setName("SketchLine_93")
SketchLine_68 = Sketch_9.addLine(58, -2, 58, 8)
SketchLine_68.setName("SketchLine_68")
SketchLine_68.result().setName("SketchLine_68")
SketchLine_68.setAuxiliary(True)
SketchConstraintCoincidence_103 = Sketch_9.setCoincident(SketchLine_65.endPoint(), SketchLine_68.startPoint())
SketchConstraintCoincidence_103.setName("SketchConstraintCoincidence_113")
SketchLine_69 = Sketch_9.addLine(53.99999482393354, 8, 50, 8)
SketchLine_69.setName("SketchLine_94")
SketchLine_69.result().setName("SketchLine_94")
SketchLine_70 = Sketch_9.addLine(58, 8, 50, 8)
SketchLine_70.setName("SketchLine_69")
SketchLine_70.result().setName("SketchLine_69")
SketchLine_70.setAuxiliary(True)
SketchConstraintCoincidence_104 = Sketch_9.setCoincident(SketchLine_68.endPoint(), SketchLine_70.startPoint())
SketchConstraintCoincidence_104.setName("SketchConstraintCoincidence_114")
SketchLine_71 = Sketch_9.addLine(50, 8, 49.99999999999999, 70)
SketchLine_71.setName("SketchLine_70")
SketchLine_71.result().setName("SketchLine_70")
SketchLine_71.setAuxiliary(True)
SketchConstraintCoincidence_105 = Sketch_9.setCoincident(SketchLine_70.endPoint(), SketchLine_71.startPoint())
SketchConstraintCoincidence_105.setName("SketchConstraintCoincidence_115")
SketchLine_72 = Sketch_9.addLine(49.99999999999999, 70, 15, 70)
SketchLine_72.setName("SketchLine_71")
SketchLine_72.result().setName("SketchLine_71")
SketchLine_72.setAuxiliary(True)
SketchConstraintCoincidence_106 = Sketch_9.setCoincident(SketchLine_71.endPoint(), SketchLine_72.startPoint())
SketchConstraintCoincidence_106.setName("SketchConstraintCoincidence_116")
SketchLine_73 = Sketch_9.addLine(15, 70, 15, 84)
SketchLine_73.setName("SketchLine_72")
SketchLine_73.result().setName("SketchLine_72")
SketchConstraintCoincidence_107 = Sketch_9.setCoincident(SketchLine_72.endPoint(), SketchLine_73.startPoint())
SketchConstraintCoincidence_107.setName("SketchConstraintCoincidence_117")
SketchLine_74 = Sketch_9.addLine(15, 84, 0, 84)
SketchLine_74.setName("SketchLine_73")
SketchLine_74.result().setName("SketchLine_73")
SketchConstraintCoincidence_108 = Sketch_9.setCoincident(SketchLine_73.endPoint(), SketchLine_74.startPoint())
SketchConstraintCoincidence_108.setName("SketchConstraintCoincidence_118")
SketchConstraintCoincidence_109 = Sketch_9.setCoincident(SketchLine_62.startPoint(), SketchLine_74.endPoint())
SketchConstraintCoincidence_109.setName("SketchConstraintCoincidence_119")
SketchLine_75 = Sketch_9.addLine(model.selection("EDGE", "PartSet/OX"))
SketchLine_75.setName("SketchLine_74")
SketchLine_75.result().setName("SketchLine_74")
SketchConstraintDistance_23 = Sketch_9.setDistance(SketchLine_65.endPoint(), SketchLine_75.result(), 2)
SketchConstraintDistance_23.setName("SketchConstraintDistance_25")
SketchConstraintDistance_24 = Sketch_9.setDistance(SketchLine_65.endPoint(), SketchLine_63.result(), 58)
SketchConstraintDistance_24.setName("SketchConstraintDistance_26")
SketchConstraintHorizontal_17 = Sketch_9.setHorizontal(SketchLine_65.result())
SketchConstraintVertical_15 = Sketch_9.setVertical(SketchLine_71.result())
SketchConstraintVertical_16 = Sketch_9.setVertical(SketchLine_73.result())
SketchConstraintVertical_17 = Sketch_9.setVertical(SketchLine_68.result())
SketchConstraintHorizontal_18 = Sketch_9.setHorizontal(SketchLine_74.result())
SketchConstraintHorizontal_19 = Sketch_9.setHorizontal(SketchLine_72.result())
SketchConstraintHorizontal_20 = Sketch_9.setHorizontal(SketchLine_70.result())
SketchConstraintDistance_25 = Sketch_9.setDistance(SketchLine_70.endPoint(), SketchLine_62.result(), 50)
SketchConstraintDistance_25.setName("SketchConstraintDistance_27")
SketchConstraintDistance_26 = Sketch_9.setDistance(SketchLine_71.endPoint(), SketchLine_75.result(), 70)
SketchConstraintDistance_26.setName("SketchConstraintDistance_28")
SketchConstraintDistance_27 = Sketch_9.setDistance(SketchLine_72.endPoint(), SketchLine_63.result(), 15)
SketchConstraintDistance_27.setName("SketchConstraintDistance_29")
SketchLine_76 = Sketch_9.addLine(model.selection("EDGE", "Sketch_5/SketchLine_32"))
SketchLine_76.setName("SketchLine_75")
SketchLine_76.result().setName("SketchLine_75")
SketchConstraintDistance_28 = Sketch_9.setDistance(SketchLine_62.startPoint(), SketchLine_76.result(), 2)
SketchConstraintDistance_28.setName("SketchConstraintDistance_30")
SketchConstraintDistance_29 = Sketch_9.setDistance(SketchLine_71.startPoint(), SketchLine_75.result(), 8)
SketchConstraintDistance_29.setName("SketchConstraintDistance_31")
SketchArc_8 = Sketch_9.addArc(44.00000000000001, 64.00000000000001, 50, 63.99999981522573, 44.0000002728486, 70, False)
SketchArc_8.setName("SketchArc_22")
SketchArc_8.result().setName("SketchArc_22")
SketchArc_8.results()[1].setName("SketchArc_22_2")
SketchConstraintCoincidence_110 = Sketch_9.setCoincident(SketchArc_8.startPoint(), SketchLine_64.endPoint())
SketchConstraintCoincidence_110.setName("SketchConstraintCoincidence_140")
SketchConstraintCoincidence_111 = Sketch_9.setCoincident(SketchArc_8.endPoint(), SketchLine_66.startPoint())
SketchConstraintCoincidence_111.setName("SketchConstraintCoincidence_141")
SketchConstraintTangent_14 = Sketch_9.setTangent(SketchArc_8.results()[1], SketchLine_64.result())
SketchConstraintTangent_14.setName("SketchConstraintTangent_26")
SketchConstraintTangent_15 = Sketch_9.setTangent(SketchArc_8.results()[1], SketchLine_66.result())
SketchConstraintTangent_15.setName("SketchConstraintTangent_27")
SketchConstraintCoincidence_112 = Sketch_9.setCoincident(SketchLine_71.startPoint(), SketchLine_64.startPoint())
SketchConstraintCoincidence_112.setName("SketchConstraintCoincidence_142")
SketchConstraintCoincidence_113 = Sketch_9.setCoincident(SketchLine_72.endPoint(), SketchLine_66.endPoint())
SketchConstraintCoincidence_113.setName("SketchConstraintCoincidence_143")
SketchConstraintCoincidence_114 = Sketch_9.setCoincident(SketchLine_64.endPoint(), SketchLine_71.result())
SketchConstraintCoincidence_114.setName("SketchConstraintCoincidence_144")
SketchConstraintCoincidence_115 = Sketch_9.setCoincident(SketchLine_66.startPoint(), SketchLine_72.result())
SketchConstraintCoincidence_115.setName("SketchConstraintCoincidence_145")
SketchArc_9 = Sketch_9.addArc(54, 4, 58.00000000000001, 3.999997221073, 53.99999482393354, 8, False)
SketchArc_9.setName("SketchArc_23")
SketchArc_9.result().setName("SketchArc_23")
SketchArc_9.results()[1].setName("SketchArc_23_2")
SketchConstraintCoincidence_116 = Sketch_9.setCoincident(SketchArc_9.startPoint(), SketchLine_67.endPoint())
SketchConstraintCoincidence_116.setName("SketchConstraintCoincidence_146")
SketchConstraintCoincidence_117 = Sketch_9.setCoincident(SketchArc_9.endPoint(), SketchLine_69.startPoint())
SketchConstraintCoincidence_117.setName("SketchConstraintCoincidence_147")
SketchConstraintTangent_16 = Sketch_9.setTangent(SketchArc_9.results()[1], SketchLine_67.result())
SketchConstraintTangent_16.setName("SketchConstraintTangent_28")
SketchConstraintTangent_17 = Sketch_9.setTangent(SketchArc_9.results()[1], SketchLine_69.result())
SketchConstraintTangent_17.setName("SketchConstraintTangent_29")
SketchConstraintCoincidence_118 = Sketch_9.setCoincident(SketchLine_68.startPoint(), SketchLine_67.startPoint())
SketchConstraintCoincidence_118.setName("SketchConstraintCoincidence_148")
SketchConstraintCoincidence_119 = Sketch_9.setCoincident(SketchLine_70.endPoint(), SketchLine_69.endPoint())
SketchConstraintCoincidence_119.setName("SketchConstraintCoincidence_149")
SketchConstraintCoincidence_120 = Sketch_9.setCoincident(SketchLine_67.endPoint(), SketchLine_68.result())
SketchConstraintCoincidence_120.setName("SketchConstraintCoincidence_150")
SketchConstraintCoincidence_121 = Sketch_9.setCoincident(SketchLine_69.startPoint(), SketchLine_70.result())
SketchConstraintCoincidence_121.setName("SketchConstraintCoincidence_151")
SketchConstraintRadius_9 = Sketch_9.setRadius(SketchArc_8.results()[1], 6)
SketchConstraintRadius_9.setName("SketchConstraintRadius_16")
SketchConstraintRadius_10 = Sketch_9.setRadius(SketchArc_9.results()[1], 4)
SketchConstraintRadius_10.setName("SketchConstraintRadius_17")
model.do()
Sketch_10 = model.addSketch(Part_1_doc, model.standardPlane("XOY"))
SketchLine_77 = Sketch_10.addLine(64, 20, 89, 20)
SketchLine_77.setName("SketchLine_76")
SketchLine_77.result().setName("SketchLine_76")
SketchPoint_4 = Sketch_10.addPoint(model.selection("VERTEX", "[(RevolutionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8)(ExtrusionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8)2(RevolutionFuse_1_1/Modified_Face&Sketch_2/SketchLine_14)2(RevolutionFuse_2_1/Modified_Face&Sketch_1/SketchArc_1_2)2(RevolutionFuse_2_1/Generated_Face&Sketch_4/SketchLine_27)2(RevolutionFuse_3_1/Modified_Face&RevolutionFuse_2_1/From_Face)2_ExtrusionCut_2_1][RevolutionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8][(RevolutionFuse_2_1/Generated_Face&Sketch_4/SketchLine_27)(RevolutionFuse_3_1/Modified_Face&RevolutionFuse_2_1/From_Face)(RevolutionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8)2(RevolutionFuse_3_1/Modified_Face&Sketch_4/SketchArc_4_2)2(ExtrusionCut_2_1/Modified_Face&Sketch_5/SketchLine_40)2][RevolutionFuse_2_1/Generated_Face&Sketch_4/SketchLine_27]"))
SketchConstraintCoincidence_122 = Sketch_10.setCoincident(SketchLine_77.startPoint(), SketchPoint_4.result())
SketchConstraintCoincidence_122.setName("SketchConstraintCoincidence_120")
SketchPoint_5 = Sketch_10.addPoint(model.selection("VERTEX", "Sketch_1/SketchLine_1_StartVertex"))
SketchConstraintCoincidence_123 = Sketch_10.setCoincident(SketchLine_77.endPoint(), SketchPoint_5.result())
SketchConstraintCoincidence_123.setName("SketchConstraintCoincidence_121")
SketchLine_78 = Sketch_10.addLine(64, -20, 89, -20)
SketchLine_78.setName("SketchLine_77")
SketchLine_78.result().setName("SketchLine_77")
SketchPoint_6 = Sketch_10.addPoint(model.selection("VERTEX", "[(RevolutionFuse_1_1/Modified_Face&Sketch_2/SketchLine_14)(ExtrusionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8)2(RevolutionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8)2(RevolutionFuse_1_1/Modified_Face&Sketch_2/SketchArc_2_2)2(RevolutionFuse_1_1/Generated_Face&Sketch_3/SketchLine_20)2(RevolutionFuse_3_1/Modified_Face&RevolutionFuse_1_1/To_Face)2_ExtrusionCut_2_1][RevolutionFuse_1_1/Modified_Face&Sketch_2/SketchLine_14][(RevolutionFuse_1_1/Generated_Face&Sketch_3/SketchLine_20)(RevolutionFuse_3_1/Modified_Face&RevolutionFuse_1_1/To_Face)(RevolutionFuse_1_1/Modified_Face&Sketch_2/SketchLine_14)2(RevolutionFuse_3_1/Modified_Face&Sketch_3/SketchArc_3_2)2(ExtrusionCut_2_1/Modified_Face&Sketch_5/SketchLine_40)2][RevolutionFuse_1_1/Generated_Face&Sketch_3/SketchLine_20]"))
SketchConstraintCoincidence_124 = Sketch_10.setCoincident(SketchLine_78.startPoint(), SketchPoint_6.result())
SketchConstraintCoincidence_124.setName("SketchConstraintCoincidence_122")
SketchPoint_7 = Sketch_10.addPoint(model.selection("VERTEX", "[(ExtrusionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8)(ExtrusionFuse_2_1/Modified_Face&Sketch_1/SketchArc_1_2)2(RevolutionFuse_1_1/Modified_Face&Sketch_2/SketchLine_14)2(RevolutionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8)2_ExtrusionCut_2_1][ExtrusionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8][(RevolutionFuse_1_1/Modified_Face&Sketch_2/SketchLine_14)(ExtrusionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8)2(RevolutionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8)2(RevolutionFuse_1_1/Modified_Face&Sketch_2/SketchArc_2_2)2(RevolutionFuse_1_1/Generated_Face&Sketch_3/SketchLine_20)2(RevolutionFuse_3_1/Modified_Face&RevolutionFuse_1_1/To_Face)2_ExtrusionCut_2_1][RevolutionFuse_1_1/Modified_Face&Sketch_2/SketchLine_14]"))
SketchConstraintCoincidence_125 = Sketch_10.setCoincident(SketchLine_78.endPoint(), SketchPoint_7.result())
SketchConstraintCoincidence_125.setName("SketchConstraintCoincidence_123")
SketchArc_10 = Sketch_10.addArc(89, 0, 89, -20, 89, 20, False)
SketchArc_10.setName("SketchArc_13")
SketchArc_10.result().setName("SketchArc_13")
SketchArc_10.results()[1].setName("SketchArc_13_2")
SketchConstraintCoincidence_126 = Sketch_10.setCoincident(SketchArc_10.startPoint(), SketchLine_78.endPoint())
SketchConstraintCoincidence_126.setName("SketchConstraintCoincidence_124")
SketchConstraintTangent_18 = Sketch_10.setTangent(SketchArc_10.results()[1], SketchLine_78.result())
SketchConstraintTangent_18.setName("SketchConstraintTangent_23")
SketchConstraintCoincidence_127 = Sketch_10.setCoincident(SketchLine_77.endPoint(), SketchArc_10.endPoint())
SketchConstraintCoincidence_127.setName("SketchConstraintCoincidence_125")
SketchConstraintCoincidence_128 = Sketch_10.setCoincident(SketchPoint_5.coordinates(), SketchArc_10.endPoint())
SketchConstraintCoincidence_128.setName("SketchConstraintCoincidence_126")
SketchArc_11 = Sketch_10.addArc(63.9999997725999, -23.01134810362887, 64, -20, 61.15622559702544, -22.02080994708719, False)
SketchArc_11.setName("SketchArc_14")
SketchArc_11.result().setName("SketchArc_14")
SketchArc_11.results()[1].setName("SketchArc_14_2")
SketchConstraintCoincidence_129 = Sketch_10.setCoincident(SketchArc_11.startPoint(), SketchLine_78.startPoint())
SketchConstraintCoincidence_129.setName("SketchConstraintCoincidence_127")
SketchConstraintTangent_19 = Sketch_10.setTangent(SketchArc_11.results()[1], SketchLine_78.result())
SketchConstraintTangent_19.setName("SketchConstraintTangent_24")
SketchPoint_8 = Sketch_10.addPoint(model.selection("VERTEX", "[(RevolutionFuse_1_1/Generated_Face&Sketch_3/SketchLine_20)(RevolutionFuse_3_1/Modified_Face&RevolutionFuse_1_1/To_Face)(RevolutionFuse_1_1/Modified_Face&Sketch_2/SketchLine_14)2(RevolutionFuse_3_1/Modified_Face&Sketch_3/SketchArc_3_2)2(ExtrusionCut_2_1/Modified_Face&Sketch_5/SketchLine_40)2][RevolutionFuse_1_1/Generated_Face&Sketch_3/SketchLine_20][RevolutionFuse_3_1/Modified_Face&RevolutionFuse_1_1/To_Face]"))
SketchConstraintCoincidence_130 = Sketch_10.setCoincident(SketchArc_11.endPoint(), SketchPoint_8.result())
SketchConstraintCoincidence_130.setName("SketchConstraintCoincidence_128")
SketchArc_12 = Sketch_10.addArc(64.00001789135865, 23.01137360115889, 64, 20, 61.15622559702543, 22.02080994708722, True)
SketchArc_12.setName("SketchArc_15")
SketchArc_12.result().setName("SketchArc_15")
SketchArc_12.results()[1].setName("SketchArc_15_2")
SketchConstraintCoincidence_131 = Sketch_10.setCoincident(SketchArc_12.startPoint(), SketchLine_77.startPoint())
SketchConstraintCoincidence_131.setName("SketchConstraintCoincidence_129")
SketchConstraintTangent_20 = Sketch_10.setTangent(SketchArc_12.results()[1], SketchLine_77.result())
SketchConstraintTangent_20.setName("SketchConstraintTangent_25")
SketchPoint_9 = Sketch_10.addPoint(model.selection("VERTEX", "[(RevolutionFuse_2_1/Generated_Face&Sketch_4/SketchLine_27)(RevolutionFuse_3_1/Modified_Face&RevolutionFuse_2_1/From_Face)(RevolutionFuse_2_1/Modified_Face&Sketch_1/SketchLine_8)2(RevolutionFuse_3_1/Modified_Face&Sketch_4/SketchArc_4_2)2(ExtrusionCut_2_1/Modified_Face&Sketch_5/SketchLine_40)2][RevolutionFuse_2_1/Generated_Face&Sketch_4/SketchLine_27][RevolutionFuse_3_1/Modified_Face&RevolutionFuse_2_1/From_Face]"))
SketchConstraintCoincidence_132 = Sketch_10.setCoincident(SketchArc_12.endPoint(), SketchPoint_9.result())
SketchConstraintCoincidence_132.setName("SketchConstraintCoincidence_130")
SketchLine_79 = Sketch_10.addLine(61.15622559702543, 22.02080994708722, 59.81204392543111, 22.0208099470871)
SketchLine_79.setName("SketchLine_78")
SketchLine_79.result().setName("SketchLine_78")
SketchConstraintCoincidence_133 = Sketch_10.setCoincident(SketchArc_12.endPoint(), SketchLine_79.startPoint())
SketchConstraintCoincidence_133.setName("SketchConstraintCoincidence_131")
SketchConstraintCoincidence_134 = Sketch_10.setCoincident(SketchPoint_9.coordinates(), SketchLine_79.startPoint())
SketchConstraintCoincidence_134.setName("SketchConstraintCoincidence_132")
SketchLine_80 = Sketch_10.addLine(59.81204392543111, 22.0208099470871, 59.81204392543111, -22.02080994708712)
SketchLine_80.setName("SketchLine_79")
SketchLine_80.result().setName("SketchLine_79")
SketchConstraintCoincidence_135 = Sketch_10.setCoincident(SketchLine_79.endPoint(), SketchLine_80.startPoint())
SketchConstraintCoincidence_135.setName("SketchConstraintCoincidence_133")
SketchLine_81 = Sketch_10.addLine(61.15622559702544, -22.02080994708719, 59.81204392543111, -22.02080994708712)
SketchLine_81.setName("SketchLine_80")
SketchLine_81.result().setName("SketchLine_80")
SketchConstraintCoincidence_136 = Sketch_10.setCoincident(SketchArc_11.endPoint(), SketchLine_81.startPoint())
SketchConstraintCoincidence_136.setName("SketchConstraintCoincidence_134")
SketchConstraintCoincidence_137 = Sketch_10.setCoincident(SketchPoint_8.coordinates(), SketchLine_81.startPoint())
SketchConstraintCoincidence_137.setName("SketchConstraintCoincidence_135")
SketchConstraintCoincidence_138 = Sketch_10.setCoincident(SketchLine_80.endPoint(), SketchLine_81.endPoint())
SketchConstraintCoincidence_138.setName("SketchConstraintCoincidence_136")
SketchConstraintParallel_3 = Sketch_10.setParallel(SketchLine_78.result(), SketchLine_81.result())
SketchConstraintParallel_4 = Sketch_10.setParallel(SketchLine_77.result(), SketchLine_79.result())
SketchConstraintPerpendicular_1 = Sketch_10.setPerpendicular(SketchLine_80.result(), SketchLine_77.result())
SketchPoint_10 = Sketch_10.addPoint(model.selection("VERTEX", "Sketch_6/SketchPoint_3"))
SketchMultiRotation_1_objects = [SketchArc_10.results()[1], SketchLine_77.result(), SketchLine_78.result(), SketchArc_12.results()[1], SketchLine_79.result(), SketchLine_80.result(), SketchLine_81.result(), SketchArc_11.results()[1]]
SketchMultiRotation_1 = Sketch_10.addRotation(SketchMultiRotation_1_objects, SketchPoint_10.coordinates(), 120, 3)
[SketchArc_13, SketchArc_14, SketchLine_82, SketchLine_83, SketchLine_84, SketchLine_85, SketchArc_15, SketchArc_16, SketchLine_86, SketchLine_87, SketchLine_88, SketchLine_89, SketchLine_90, SketchLine_91, SketchArc_17, SketchArc_18] = SketchMultiRotation_1.rotated()
SketchArc_18.setName("SketchArc_21")
SketchArc_18.result().setName("SketchArc_21")
SketchArc_18.results()[1].setName("SketchArc_21_2")
SketchArc_17.setName("SketchArc_18")
SketchArc_17.result().setName("SketchArc_18")
SketchArc_17.results()[1].setName("SketchArc_18_2")
SketchLine_91.setName("SketchLine_90")
SketchLine_91.result().setName("SketchLine_90")
SketchLine_90.setName("SketchLine_85")
SketchLine_90.result().setName("SketchLine_85")
SketchLine_89.setName("SketchLine_89")
SketchLine_89.result().setName("SketchLine_89")
SketchLine_88.setName("SketchLine_84")
SketchLine_88.result().setName("SketchLine_84")
SketchLine_87.setName("SketchLine_88")
SketchLine_87.result().setName("SketchLine_88")
SketchLine_86.setName("SketchLine_83")
SketchLine_86.result().setName("SketchLine_83")
SketchArc_16.setName("SketchArc_20")
SketchArc_16.result().setName("SketchArc_20")
SketchArc_16.results()[1].setName("SketchArc_20_2")
SketchArc_15.setName("SketchArc_17")
SketchArc_15.result().setName("SketchArc_17")
SketchArc_15.results()[1].setName("SketchArc_17_2")
SketchLine_85.setName("SketchLine_87")
SketchLine_85.result().setName("SketchLine_87")
SketchLine_84.setName("SketchLine_82")
SketchLine_84.result().setName("SketchLine_82")
SketchLine_83.setName("SketchLine_86")
SketchLine_83.result().setName("SketchLine_86")
SketchLine_82.setName("SketchLine_81")
SketchLine_82.result().setName("SketchLine_81")
SketchArc_14.setName("SketchArc_19")
SketchArc_14.result().setName("SketchArc_19")
SketchArc_14.results()[1].setName("SketchArc_19_2")
SketchArc_13.setName("SketchArc_16")
SketchArc_13.result().setName("SketchArc_16")
SketchArc_13.results()[1].setName("SketchArc_16_2")
model.do()
ExtrusionFuse_3 = model.addExtrusionFuse(Part_1_doc, [model.selection("FACE", "Sketch_10/Face-SketchArc_16_2f-SketchLine_81r-SketchArc_17_2r-SketchLine_83f-SketchLine_84f-SketchLine_85r-SketchArc_18_2r-SketchLine_82f"), model.selection("FACE", "Sketch_10/Face-SketchArc_19_2f-SketchLine_86r-SketchArc_20_2r-SketchLine_88f-SketchLine_89f-SketchLine_90r-SketchArc_21_2r-SketchLine_87f")], model.selection(), 20, 0, [model.selection("SOLID", "ExtrusionCut_2_1")])
Sketch_11 = model.addSketch(Part_1_doc, model.standardPlane("XOY"))
SketchCircle_2 = Sketch_11.addCircle(89, 0, 6)
SketchPoint_11 = Sketch_11.addPoint(model.selection("VERTEX", "Sketch_2/SketchLine_9_EndVertex"))
SketchConstraintCoincidence_139 = Sketch_11.setCoincident(SketchCircle_2.center(), SketchPoint_11.result())
SketchConstraintCoincidence_139.setName("SketchConstraintCoincidence_137")
SketchConstraintRadius_11 = Sketch_11.setRadius(SketchCircle_2.results()[1], 6)
SketchConstraintRadius_11.setName("SketchConstraintRadius_14")
SketchCircle_3 = Sketch_11.addCircle(89, 0, 12)
SketchConstraintCoincidence_140 = Sketch_11.setCoincident(SketchCircle_2.center(), SketchCircle_3.center())
SketchConstraintCoincidence_140.setName("SketchConstraintCoincidence_138")
SketchConstraintCoincidence_141 = Sketch_11.setCoincident(SketchPoint_11.coordinates(), SketchCircle_3.center())
SketchConstraintCoincidence_141.setName("SketchConstraintCoincidence_139")
SketchConstraintRadius_12 = Sketch_11.setRadius(SketchCircle_3.results()[1], 12)
SketchConstraintRadius_12.setName("SketchConstraintRadius_15")
SketchPoint_12 = Sketch_11.addPoint(model.selection("VERTEX", "PartSet/Origin"))
SketchMultiRotation_2 = Sketch_11.addRotation([SketchCircle_3.results()[1], SketchCircle_2.results()[1]], SketchPoint_12.coordinates(), 120, 3)
[SketchCircle_4, SketchCircle_5, SketchCircle_6, SketchCircle_7] = SketchMultiRotation_2.rotated()
model.do()
RevolutionCut_1 = model.addRevolutionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_9")], model.selection("EDGE", "PartSet/OZ"), 0, 360, [model.selection("SOLID", "ExtrusionFuse_3_1")])
ExtrusionCut_3_objects_1 = [model.selection("WIRE", "Sketch_11/Face-SketchCircle_4_2f-SketchCircle_6_2r_wire"), model.selection("WIRE", "Sketch_11/Face-SketchCircle_3_2f-SketchCircle_2_2r_wire"), model.selection("WIRE", "Sketch_11/Face-SketchCircle_5_2f-SketchCircle_7_2r_wire")]
ExtrusionCut_3 = model.addExtrusionCut(Part_1_doc, ExtrusionCut_3_objects_1, model.selection(), 30, -15, [model.selection("SOLID", "RevolutionCut_1_1")])
ExtrusionCut_4_objects_1 = [model.selection("WIRE", "Sketch_11/Face-SketchCircle_2_2r_wire"), model.selection("FACE", "Sketch_11/Face-SketchCircle_6_2f"), model.selection("WIRE", "Sketch_11/Face-SketchCircle_7_2f_wire")]
ExtrusionCut_4 = model.addExtrusionCut(Part_1_doc, ExtrusionCut_4_objects_1, model.selection(), 30, 2, [model.selection("SOLID", "ExtrusionCut_3_1")])

# Test reexecution after parameter change
Parameter_R.setValue(5)
model.do()
model.testResultsVolumes(ExtrusionCut_4, [502617.059752906498033553361892700])
Parameter_R.setValue(3)
model.end()

from GeomAPI import GeomAPI_Shape

model.testNbResults(ExtrusionCut_4, 1)
model.testNbSubResults(ExtrusionCut_4, [0])
model.testNbSubShapes(ExtrusionCut_4, GeomAPI_Shape.SOLID, [1])
model.testNbSubShapes(ExtrusionCut_4, GeomAPI_Shape.FACE, [81])
model.testNbSubShapes(ExtrusionCut_4, GeomAPI_Shape.EDGE, [406])
model.testNbSubShapes(ExtrusionCut_4, GeomAPI_Shape.VERTEX, [812])
model.testResultsVolumes(ExtrusionCut_4, [502903.528831139323301613330841064])

assert(model.checkPythonDump())
